package com.ugoodtech.mdcc.core.repository;

/* Copyright (C) Ugoodtech, Inc - All Rights Reserved.
 * Unauthorized copying of this file, via any medium is strictly prohibited.
 * Proprietary and confidential.
 * Written by Stone Shaw.
 */

import com.ugoodtech.mdcc.core.domain.RequestLog;
import org.springframework.data.querydsl.QueryDslPredicateExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface RequestLogRepository extends PagingAndSortingRepository<RequestLog, Long>
        , QueryDslPredicateExecutor<RequestLog> {
//    @Transactional
//    @Modifying(clearAutomatically = true)
//    @Query("update RequestLog b set b.deleted=true where b.id=:id")
//    void delete(@Param("id") Long id);
//
//    @Transactional
//    @Modifying(clearAutomatically = true)
//    @Query("update RequestLog b set b.deleted=true where b.id in :ids")
//    void delete(@Param("ids") Collection<Long> ids);




}
